home *** CD-ROM | disk | FTP | other *** search
- /*
- * MG context attributes specific to Renderman rib driver (mgrib)
- *
- */
-
- #define MG_RIBWINID 300 /* token: int */
- #define MG_RIBBORN 301 /* token: int (boolean) */
- #define MG_RIBFILE 302 /* token: FILE* */
-
- #define MG_RIBLINEMODE 303 /* token: int */
- #define MG_RIBPOLYGON 304 /* possible value for MG_RIBLINEMODE */
- #define MG_RIBCYLINDER 305 /* possible value for MG_RIBLINEMODE */
- #define MG_RIBPRMANLINE 306 /* possible value for MG_RIBLINEMODE */
-
- #define MG_RIBFORMAT 307 /* token: int */
- #define MG_RIBASCII 308 /* possible value for MG_RIBFORMAT */
- #define MG_RIBBINARY 309 /* possible value for MG_RIBFORMAT */
-
- #define MG_RIBFILEPATH 310 /* token: char* */
-
- #define MG_RIBDISPLAY 311 /* token: int */
- #define MG_RIBTIFF 312 /* possible value for MG_RIBDISPLAY */
- #define MG_RIBFRAME 313 /* possible value for MG_RIBDISPLAY */
-
- #define MG_RIBDISPLAYNAME 314 /* token: char* */
-
- #define MG_RIBBACKING 315 /* token: int */
- #define MG_RIBDOBG 316 /* possible value for MG_RIBBACKING */
- #define MG_RIBNOBG 317 /* possible value for MG_RIBBACKING */
-
- #define MG_RIBSHADER 318 /* token: int */
- #define MG_RIBSTDSHADE 319 /* possible value for MG_RIBSHADER */
- #define MG_RIBEXTSHADE 320 /* possible value for MG_RIBSHADER */
-
- #define MG_RIBSCENE 321 /* RIB 1.0: scene name: char* */
- #define MG_RIBCREATOR 322 /* RIB 1.0: creator: char* */
- #define MG_RIBFOR 323 /* RIB 1.0: user: char* */
- #define MG_RIBDATE 324 /* RIB 1.0: date: char* */
-
- /* following are functions wich need to be accessed by main program */
- void mgrib_flushbuffer(); /* flushes tokens from buffer to file */
- void mgrib_terminatebuffer(); /* NULL terminates the tokenbuffer: */
- void mgrib_tokenbuffer(char **buffer, int *size);
- /* returns via indirection buffer & size */
-